﻿// LightNet - Lightweight .NET Framework
// Copyright (c) 2010 http://lightnet.codeplex.com

namespace System.Runtime.ConstrainedExecution
{
    [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Assembly, Inherited = false)]
    internal sealed class ReliabilityContractAttribute : Attribute
    {
        private Cer cer;
        private Consistency consistency;

        public ReliabilityContractAttribute(Consistency consistencyGuarantee, Cer cer)
        {
            this.consistency = consistencyGuarantee;
            this.cer = cer;
        }
    }
}
